<html xmlns:th="http://www.thymeleaf.org">
<!--公共css-->

<th:block th:fragment="common_css">
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>首页</title>
    <link rel="stylesheet" href="/back/plugins/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="/back/plugins/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="/back/plugins/ionicons/css/ionicons.min.css">
    <link rel="stylesheet" href="/back/plugins/iCheck/square/blue.css">
    <link rel="stylesheet" href="/back/plugins/morris/morris.css">
    <link rel="stylesheet" href="/back/plugins/jvectormap/jquery-jvectormap-1.2.2.css">
    <link rel="stylesheet" href="/back/plugins/datepicker/datepicker3.css">
    <link rel="stylesheet" href="/back/plugins/daterangepicker/daterangepicker.css">
    <link rel="stylesheet" href="/back/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
    <link rel="stylesheet" href="/back/plugins/datatables/dataTables.bootstrap.css">
    <link rel="stylesheet" href="/back/plugins/treeTable/jquery.treetable.css">
    <link rel="stylesheet" href="/back/plugins/treeTable/jquery.treetable.theme.default.css">
    <link rel="stylesheet" href="/back/plugins/select2/select2.css">
    <link rel="stylesheet" href="/back/plugins/colorpicker/bootstrap-colorpicker.min.css">
    <link rel="stylesheet" href="/back/plugins/bootstrap-markdown/css/bootstrap-markdown.min.css">
    <link rel="stylesheet" href="/back/plugins/adminLTE/css/AdminLTE.css">
    <link rel="stylesheet" href="/back/plugins/adminLTE/css/skins/_all-skins.min.css">
    <link rel="stylesheet" href="/back/css/style.css">
    <link rel="stylesheet" href="/back/plugins/ionslider/ion.rangeSlider.css">
    <link rel="stylesheet" href="/back/plugins/ionslider/ion.rangeSlider.skinNice.css">
    <link rel="stylesheet" href="/back/plugins/bootstrap-slider/slider.css">
    <link rel="stylesheet" href="/back/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.css">
</th:block>
<!--公共js-->
<th:block th:fragment="common_js">
    <script src="/back/plugins/jQuery/jquery-2.2.3.min.js"></script>
    <script src="/back/plugins/jQueryUI/jquery-ui.min.js"></script>
    <script>
        $.widget.bridge('uibutton', $.ui.button);
    </script>
    <script src="/back/plugins/bootstrap/js/bootstrap.min.js"></script>
    <script src="/back/plugins/raphael/raphael-min.js"></script>
    <script src="/back/plugins/morris/morris.min.js"></script>
    <script src="/back/plugins/sparkline/jquery.sparkline.min.js"></script>
    <script src="/back/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
    <script src="/back/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
    <script src="/back/plugins/knob/jquery.knob.js"></script>
    <script src="/back/plugins/daterangepicker/moment.min.js"></script>
    <script src="/back/plugins/daterangepicker/daterangepicker.js"></script>
    <script src="/back/plugins/daterangepicker/daterangepicker.zh-CN.js"></script>
    <script src="/back/plugins/datepicker/bootstrap-datepicker.js"></script>
    <script src="/back/plugins/datepicker/locales/bootstrap-datepicker.zh-CN.js"></script>
    <script src="/back/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
    <script src="/back/plugins/slimScroll/jquery.slimscroll.min.js"></script>
    <script src="/back/plugins/fastclick/fastclick.js"></script>
    <script src="/back/plugins/iCheck/icheck.min.js"></script>
    <script src="/back/plugins/adminLTE/js/app.min.js"></script>
    <script src="/back/plugins/treeTable/jquery.treetable.js"></script>
    <script src="/back/plugins/select2/select2.full.min.js"></script>
    <script src="/back/plugins/colorpicker/bootstrap-colorpicker.min.js"></script>
    <script src="/back/plugins/bootstrap-wysihtml5/bootstrap-wysihtml5.zh-CN.js"></script>
    <script src="/back/plugins/bootstrap-markdown/js/bootstrap-markdown.js"></script>
    <script src="/back/plugins/bootstrap-markdown/locale/bootstrap-markdown.zh.js"></script>
    <script src="/back/plugins/bootstrap-markdown/js/markdown.js"></script>
    <script src="/back/plugins/bootstrap-markdown/js/to-markdown.js"></script>
<!--    <script src="/back/plugins/ckeditor/ckeditor.js"></script>-->
    <script src="/back/plugins/input-mask/jquery.inputmask.js"></script>
    <script src="/back/plugins/input-mask/jquery.inputmask.date.extensions.js"></script>
    <script src="/back/plugins/input-mask/jquery.inputmask.extensions.js"></script>
    <script src="/back/plugins/datatables/jquery.dataTables.min.js"></script>
    <script src="/back/plugins/datatables/dataTables.bootstrap.min.js"></script>
    <script src="/back/plugins/chartjs/Chart.min.js"></script>
    <script src="/back/plugins/flot/jquery.flot.min.js"></script>
    <script src="/back/plugins/flot/jquery.flot.resize.min.js"></script>
    <script src="/back/plugins/flot/jquery.flot.pie.min.js"></script>
    <script src="/back/plugins/flot/jquery.flot.categories.min.js"></script>
    <script src="/back/plugins/ionslider/ion.rangeSlider.min.js"></script>
    <script src="/back/plugins/bootstrap-slider/bootstrap-slider.js"></script>
    <script src="/back/plugins/bootstrap-datetimepicker/bootstrap-datetimepicker.js"></script>
    <script src="/back/plugins/bootstrap-datetimepicker/locales/bootstrap-datetimepicker.zh-CN.js"></script>
    <script src="/back/js/bootstrap-paginator.js"></script>
    <script src="/back/js/wangEditor.js"></script>
    <script src="/back/js/jquery.form.js"></script>
    <script>
        $(document).ready(function() {
            // 选择框
            $(".select2").select2();

            // WYSIHTML5编辑器
            $(".textarea").wysihtml5({
                locale: 'zh-CN'
            });
        });


        // 设置激活菜单
        function setSidebarActive(tagUri) {
            var liObj = $("#" + tagUri);
            if (liObj.length > 0) {
                liObj.parent().parent().addClass("active");
                liObj.addClass("active");
            }
        }


        $(document).ready(function() {
            setSidebarActive("admin-blank");
        });
    </script>
</th:block>